<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>修改用户信息</title>
    <link href="https://cdn.staticfile.org/twitter-bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet">
    <link href="../../static/boostrap/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
</head>
<body>
<div class="container">
    <div class="my-content">
        <div class="row clearfix">

            <div class="col-md-12 column">
                <div class="page-header">
                    <h1>
                        <small>修改用户密码</small>
                    </h1>
                </div>
            </div>


            <form action="${pageContext.request.contextPath}/UpdateUser" method="post">

                <%--这要隐藏id--%>
                <input type="hidden" name="id" value="${userInfo.id}">
                <div class="form-group">
                    <label>用户名称:</label>
                    <input type="text" name="account" value="${userInfo.account}" class="form-control "
                           required>
                </div>
                <div class="form-group">
                    <label>用户密码:</label>
                    <input type="text" name="password" value="${userInfo.password}" class="form-control"
                           required>
                </div>
                <div class="form-group">
                    <div class="col-xs-8">
                        <button class="btn btn-primary" type="submit">提交修改</button>
                    </div>
                </div>

            </form>
        </div>
    </div>
</div>
</body>
</html>

